package pers.richard.example.po;

import java.util.Date;

import pers.richard.ormybatis.bean.AbstractDomain;
import pers.richard.ormybatis.bean.field.IField;

public class User extends AbstractDomain {
	private Integer userId;
	private String name;
	private Integer age;
	private Date updateTime;
	private Date createTime;
	
	public User(){
		// 默认构造函数
	}
	
	public enum Field implements IField {
		USER_ID,
		NAME,
		AGE,
		UPDATE_TIME,
		CREATE_TIME;
	}
	

	public Integer getUserId() {return userId;}
	public User setUserId(Integer userId) {this.userId = userId;return this;}

	public String getName() {return name;}
	public User setName(String name) {this.name = name;return this;}

	public Integer getAge() {return age;}
	public User setAge(Integer age) {this.age = age;return this;}

	public Date getUpdateTime() {return updateTime;}
	public User setUpdateTime(Date updateTime) {this.updateTime = updateTime;return this;}

	public Date getCreateTime() {return createTime;}
	public User setCreateTime(Date createTime) {this.createTime = createTime;return this;}

	@Override
	public boolean equals(Object obj) {
		return super.equals(obj);
	}
	
	@Override
	public int hashCode() {
		return super.hashCode();
	}
}